package com.yenlien.traceyun.plant.entity;

import com.yenlien.traceyun.webase.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Date 2023/10/30
 * @Author jiaLong
 * @Descript 果园CMS 标题栏
 */
@Entity
@Table(name = "t_fruit_banner")
public class FruitBanner extends BaseEntity {


    @ApiModelProperty(value = "序号", example = "1")
    private Integer sort;


    @ApiModelProperty(value = "新闻首页/政策分析/名企名品/专业知识/违规曝光/行业资讯/产品召回", example = "政策分析")
    private String type;


    @ApiModelProperty(value = "banner对应的图片", example = "*.png")
    private String img;


    @ApiModelProperty(value = "轮播秒数(单位秒)", example = "5")
    private String second;


    @ApiModelProperty(value = "跳转链接, 站内跳转就是文章ID, 站外跳转就是 url", example = "www.baidu.com")
    private String target;

    @ApiModelProperty(value = "跳转模式, 1=站内, 2=站外, 3=无跳转", example = "1")
    private String model;


    @ApiModelProperty(value = "企业ID")
    private String companyId;


    @ApiModelProperty(value = "创建时间")
    private String createTime;



    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getSecond() {
        return second;
    }

    public void setSecond(String second) {
        this.second = second;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public FruitBanner() {
    }
}
